package comi.example.xiong.bearfruit.bean;

import java.math.BigDecimal;
import java.util.Date;


/**
 * 
 * @ClassName Order
 * @Description TODO(数据库Order_inf表的Java类)
 * @author 倪宗龙
 * @date 2018年12月8日 下午10:37:14
 * @version V1.0
 */
public class Order {
	private Integer id;
	private User user;
	private String no;
	private BigDecimal payment;
	private Integer status;
	private Shipping shipping;

	private Date createTime;

	private Date endTime;

	private Date closeTime;

	public Order() {
		super();
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNo() {
		return no;
	}

	public void setNo(String no) {
		this.no = no;
	}

	public BigDecimal getPayment() {
		return payment;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public void setPayment(BigDecimal payment) {
		this.payment = payment;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Shipping getShipping() {
		return shipping;
	}

	public void setShipping(Shipping shipping) {
		this.shipping = shipping;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getCloseTime() {
		return closeTime;
	}

	public void setCloseTime(Date closeTime) {
		this.closeTime = closeTime;
	}

	@Override
	public String toString() {
		return "Order [id=" + id + ", user=" + user + ", no=" + no + ", payment=" + payment + ", status=" + status
				+ ", shipping=" + shipping + ", createTime=" + createTime + ", endTime=" + endTime + ", closeTime="
				+ closeTime + "]";
	}

}
